# calculate average of array





